﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Moki.Examples.Model
{
    public delegate void PositionChangedHandler(IPlayer player);

    public interface IPlayer
    {
        event PositionChangedHandler PositionChanged;
        void Move(int x, int y);
    }

    public interface IObserver
    {
        void Update(IPlayer player);
    }
}
